package com.sbox.album;

import com.sbox.album.model.AlbumContext;
import com.sbox.album.model.AlbumManager;
import com.sbox.album.model.PictureInfo;
import com.sbox.util.AlbumConst;
import com.sbox.widget.PicGridView;
import com.sbox.widget.TitleBar;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ListView;

public class DateImportActivity extends Activity {
	private TitleBar mTitleBar = null;
	private ListView mDateList = null;
	
	private View.OnClickListener mSelectListener = new View.OnClickListener() {		
		@Override
		public void onClick(View v) {
			PictureInfo[] selPics = null;
		
			AlbumManager.importPictures(selPics, AlbumContext.getAlbum());
			DateImportActivity.this.finish();
		}
	};
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.view_date_import);
     
        mTitleBar = (TitleBar)findViewById(R.id.date_import_title_bar);
        mTitleBar.getButton2().setImageResource(R.drawable.btn_select);
        mTitleBar.getButton2().setOnClickListener(mSelectListener);
        
        mDateList = (ListView)findViewById(R.id.date_import_list);
    }
	
	@Override
	public void onResume() {
		super.onResume();
		
		
	}	
	
	
}
